package com.miao.common.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品表(Product)实体类
 *
 * @author MiaoWenqing
 * @since 2021-02-03 17:18:42
 */
public class Product implements Serializable {
    private static final long serialVersionUID = 450371810829303583L;
    /**
     * 商品ID
     */
    @TableId(type = IdType.INPUT)
    private String proId;
    /**
     * 商店id
     */
    private Integer storeId;
    /**
     * 商品名称
     */
    private String proName;
    /**
     * 商品品类
     */
    private String proClass;
    /**
     * 商品标题
     */
    private String proTitle;
    /**
     * 商品副标题
     */
    private String proSubtitle;
    /**
     * 商品单位
     */
    private String proUnit;
    /**
     * 商品售价
     */
    private BigDecimal proPrice;
    /**
     * 促销 折扣
     */
    private Integer proDis;
    /**
     * 商品进价
     */
    private BigDecimal proCost;
    /**
     * 商品介绍 html格式
     */
    private String proIntroduction;
    /**
     * 商品轮播图
     */
    private String proImages;
    /**
     * 是否为促销状态 1促销状态 0 正常状态
     */
    private Boolean isDiscount;
    /**
     * 是否上架 1 上架 0 不上架
     */
    private Boolean isShow;
    /**
     * 是否删除 0没删除 1 删除
     */
    @TableLogic
    private Boolean isDelete;
    /**
     * 商品封面图
     */
    private String proIcon;


    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProClass() {
        return proClass;
    }

    public void setProClass(String proClass) {
        this.proClass = proClass;
    }

    public String getProTitle() {
        return proTitle;
    }

    public void setProTitle(String proTitle) {
        this.proTitle = proTitle;
    }

    public String getProSubtitle() {
        return proSubtitle;
    }

    public void setProSubtitle(String proSubtitle) {
        this.proSubtitle = proSubtitle;
    }

    public String getProUnit() {
        return proUnit;
    }

    public void setProUnit(String proUnit) {
        this.proUnit = proUnit;
    }

    public BigDecimal getProPrice() {
        return proPrice;
    }

    public void setProPrice(BigDecimal proPrice) {
        this.proPrice = proPrice;
    }

    public Integer getProDis() {
        return proDis;
    }

    public void setProDis(Integer proDis) {
        this.proDis = proDis;
    }

    public BigDecimal getProCost() {
        return proCost;
    }

    public void setProCost(BigDecimal proCost) {
        this.proCost = proCost;
    }

    public String getProIntroduction() {
        return proIntroduction;
    }

    public void setProIntroduction(String proIntroduction) {
        this.proIntroduction = proIntroduction;
    }

    public String getProImages() {
        return proImages;
    }

    public void setProImages(String proImages) {
        this.proImages = proImages;
    }

    public Boolean getIsDiscount() {
        return isDiscount;
    }

    public void setIsDiscount(Boolean isDiscount) {
        this.isDiscount = isDiscount;
    }

    public Boolean getIsShow() {
        return isShow;
    }

    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public String getProIcon() {
        return proIcon;
    }

    public void setProIcon(String proIcon) {
        this.proIcon = proIcon;
    }

}